package edu.uwosh.cs342.placestobe;

public class User {
	String userID;
	String password;
	int latitude;
	int longitude;
	
	
	public User(String userID, String password, int latitude, int longitude){
		this.userID = userID;
		this.password = password;
		this.latitude = latitude;
		this.longitude = longitude;
	}
	public User(String userID, String password){
		this(userID, password, 181, 181);
	}
	
	
	/*
	 * returns true if location has been set
	 * returns false if location has not been set
	 */
	public boolean locationValid(){
		return (latitude < 181 && longitude < 181 ? true:false);
	}

}
